<?php
	include '../../inc/bootConfig.php';
	var_dump($_FILES);
	var_dump($_POST);
	$filename = $_POST['file'];
	
	if(uploadFlie($filename,'/')){
		echo json_encode(array('code'=>100,'msg'=>'suc'));
		exit;
	}
	echo json_encode(array('code'=>200,'msg'=>'fail'));